package com.sg.dto.integration.framework;


import com.sg.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;


/**
 * @desc HostTypeBizScnDto
 * @使用场景
 */
@Data
public class HostTypeBizScnDto extends BaseDto implements Serializable {

    /**
     * 推荐宿主类型记录ID:
     */
    @ApiModelProperty("推荐宿主类型记录ID")
    private String recommendHostTypeRecordId;

    /**
     * 推荐的宿主类型ID:
     */
    @ApiModelProperty("推荐的宿主类型ID")
    private String hostTypeId;

    /**
     * 业务场景ID:
     */
    @ApiModelProperty("业务场景ID")
    private String bizSceneId;

    /**
     * 业务场景编码:
     */
    @ApiModelProperty("业务场景编码")
    private String bizSenceCode;

    /**
     * 主体生命周期:
     */
    @ApiModelProperty("主体生命周期")
    private String subjectLifeCycle;

    /**
     * 操作人就职记录ID:
     */
    @ApiModelProperty("操作人就职记录ID")
    private String operationInductionId;

    /**
     * 操作时间:
     */
    @ApiModelProperty("操作时间")
    private Date operateTime;

    /**
     * 是否存档:
     */
    @ApiModelProperty("是否存档")
    private String isArchive;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        HostTypeBizScnDto that = (HostTypeBizScnDto) o;
        return recommendHostTypeRecordId == that.recommendHostTypeRecordId && hostTypeId == that.hostTypeId && bizSceneId == that.bizSceneId && bizSenceCode == that.bizSenceCode && subjectLifeCycle == that.subjectLifeCycle && operationInductionId == that.operationInductionId && operateTime == that.operateTime && isArchive == that.isArchive;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), recommendHostTypeRecordId, hostTypeId, bizSceneId, bizSenceCode, subjectLifeCycle, operationInductionId, operateTime, isArchive);
    }

}
